package com.gitee.cliveyuan.tools.bean.rsa;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by Clive on 2020/02/22.
 */
@Data
@Builder
public class RSARequest implements Serializable {

    /**
     * 数据
     */
    private byte[] data;
    /**
     * RSA公钥/私钥
     */
    private String keyString;

    /**
     * 密钥算法, 默认 RSA
     */
    private String keyAlgorithm;

    /**
     * 加密算法, 默认 RSA
     */
    private String cipherAlgorithm;

    /**
     * 提供方, 默认为空
     */
    private String provider;


}
